
@REM		*********************************************************************************
@REM		*	This bat-file is responsible for creating an xsd xml-schema					*
@REM		*	based on objects in	CompanyInformationContainer.dll							*
@REM		*																				*
@REM		*********************************************************************************

echo off
cls
echo Creates an xsd xml-schema based on "CompanyInformationObjects\bin\Debug\CompanyInformationObjects.dll".
echo Remember to build CompanyInformationContainer.dll from Visual Studio 
echo !! first!!
echo OBS! That's a separated process!
set /p ok= Proceed? (y)
if '%ok%'=='y' (goto :proceed) else (goto :end)
	:proceed
		"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\x64\xsd.exe" bin\Debug\CompanyInformationObjects.dll /outputdir:.\
		xcopy schema0.xsd EdisonCompanyInformation.xsd /y
		del schema0.xsd
		goto end
	:end

exit
